package com.example.demo.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/mainController")
@Api(tags = "类标识tag",value = "类标识value")
public class MainController {
    @GetMapping(value = "/mainMethod")
    @ApiOperation(value = "方法标识value" ,notes = "方法描述notes")
    public String main(){
        return "testSwagger";
    }
}
